using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "PlayerDetails_SO", menuName = "Player/PlayerDetailsData")]
public class PlayerDetails_SO : ScriptableObject
{
    public List<PlayerDetails> playerDetailList;

    public PlayerDetails GetPlayerDetails(int playerID)
    {
        return playerDetailList.Find(p => p.playerID == playerID);
    }
    
}